package com.example.wendao.model.entity;

import androidx.annotation.Nullable;
import androidx.databinding.BaseObservable;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;


@Entity
public class Fans extends BaseObservable {

    @PrimaryKey(autoGenerate = true)
    private int fansId;

    private int beFollowerId;

    private int followerId;

    //是否互粉（1或0）
    private int followEachOther;

    @Ignore
    public Fans(int fansId, int beFollowerId, int followerId, int followEachOther) {
        this.fansId = fansId;
        this.beFollowerId = beFollowerId;
        this.followerId = followerId;
        this.followEachOther = followEachOther;
    }

    public Fans(){

    }

    public int getFansId() {
        return fansId;
    }

    public void setFansId(int fansId) {
        this.fansId = fansId;
    }

    public int getFollowerId() {
        return followerId;
    }

    public void setFollowerId(int followerId) {
        this.followerId = followerId;
    }

    public int getFollowEachOther() {
        return followEachOther;
    }

    public void setFollowEachOther(int followEachOther) {
        this.followEachOther = followEachOther;
    }

    public int getBeFollowerId() {
        return beFollowerId;
    }

    public void setBeFollowerId(int beFollowerId) {
        this.beFollowerId = beFollowerId;
    }
    @Override
    public boolean equals(@Nullable Object o) {
        return super.equals(o);
    }
}

